package com.jason.designpattern.creational.prototype;

public class TestPrototype {

	public static void main(String[] args) throws CloneNotSupportedException {
		Prototype pro1 = new ConcretePrototype("prototype");
        Prototype pro2 = (Prototype)pro1.clone();
        System.out.println(pro1.getName());
        System.out.println(pro2.getName());
	}
	
}
